import Vuex from 'vuex'
import Vue from 'vue'

const actions={

}

const mutations={
    //设置token的值
    setUser(state,value){
        state.token+=value
    }

}

const state={
    user:'',
}

const getters={

}

Vue.use(Vuex)
export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
})